@import '~@/assets/css/mixins';


.data_source {
  .column {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    padding-left: 11px;
    color: @gray-700;
    font-weight: @font-weight-bold;
    font-size: @font-size-16;
    &::before {
      position: absolute;
      top: 5px;
      left: 0;
      width: 3px;
      height: 14px;
      background: @primary;
      content: '';
    }
  }
  .target_table {
    :global {
      .ant-select {
        display: inline-block;
        width: calc(100% - 98px);
      }
    }
  }
  .check_bar {
    margin-top: -20px;
  }
  :global {
    .icon-yiwentishi {
      margin-left: 4px;
      color: @gray-500;
      vertical-align: middle;
    }
    //.ant-form-item-explain, .ant-form-item-explain-connected {
    //  display: flex;
    //  .ant-form-item-explain-error {
    //    width: 50%
    //  }
    //}
  }
  .edit_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 84px;
    margin-top: 10px;
    margin-right: -70px;
    margin-left: -70px;
    border-top: 1px solid rgb(@gray-200 0.04);
    box-shadow: @box-shadow-lg;
    .edit_btn {
      cursor: pointer;
    }
    .edit_btn + .edit_btn {
      margin-left: 16px;
    }
  }
  .btn_wrap {
    margin-top: 12px;
  }
  .td_ellipse {
    width: 70px;
    padding-right: 6px;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

.data_source_detail {

}

.add_item {
  //margin-top: -37px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border-bottom: 1px solid #e8e8e8;
  text-align: center;
  line-height: 44px;
  color: @primary-sub-700;
  font-size: @font-size-14;
  :global{
    .ant-btn {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    i {
      font-size: 16px;
      margin-right: 6px;
      padding-top: 2px;
    }
  }
}

.api_bottom_out_example {
  border-radius: 2px;
  border: 1px solid rgb(255 255 255 / 10%);
  pointer-events: all;
}

.api_bottom_out_example_left {
  height: 480px;
}

.api_bottom_out_example_custom {
  height: 175px;
  overflow: hidden;
}

.tips {
  margin-bottom: 8px;
  padding-left: 8px;
  font-size: 14px;
  color: @gray-500;
}

.json_diff_editor {
  height: 180px;
  border-radius: 2px 0 0 2px;
  overflow-x: hidden;
}

.equal_sign {
  margin-left: 8px;
  margin-right: 8px !important;
  color: @gray-500;
  line-height: 32px;
  font-size: 18px;
}

.add_sign {
  margin-left: 14px;
  color: @blue;
  line-height: 32px;
  font-size: 16px;
  cursor: pointer;
}

.del_sign {
  margin-left: 14px;
  color: @red;
  line-height: 32px;
  font-size: 16px;
  cursor: pointer;
}

.tab_pane_height {
  max-height: 175px;
  overflow-y: auto;
  :global {
    .ant-form-item-explain, .ant-form-item-explain-connected {
      display: flex;
      .ant-form-item-explain-error {
        width: 50%
      }
    }
  }
}

.parameter_item {
  display: flex;
  align-items: center;
  flex-direction: row;
  padding-right: 4px;
  .item_btn_wrap {
    width: 150px;
    display: flex;
    align-items: center;
  }
}

.disabled {
  pointer-events: none;
  cursor: not-allowed;
  color: @gray-500;
}
